<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>


<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<title>后台模板</title>
<base href="${pageContext.request.contextPath }/ht/">
<link rel="stylesheet" href="css/amazeui.css" />
<link rel="stylesheet" href="css/core.css" />
<link rel="stylesheet" href="css/menu.css" />
<link rel="stylesheet" href="css/admin.css" />
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="js/mouse.js"></script>
<style type="text/css">
/* 按钮 */
	.page-title a{
		border-radius: 12px;
		width: 100px;
		height:45px;
		margin-top:4px;
		font-size: 16px;
		float:left;
		color:blue;
		font-weight: bold;
	}
	.page-title a input{
		height:30px;
		border-radius: 12px;
		width: 80px;
		font-size: 16px;
		margin-top:8px;
		margin-left:0px;
		color:blue;
		font-weight: bold;
	}
</style>
</head>
<body>
	<script>
		/*leftbar*/
		function daohangopen(id){
			var src = $("#img"+id).attr("src");
			if(src == "img/daohangopen.png"){
				$("#img"+id).attr("src","img/daohangclose.png");
				$("#divTitleChild"+id).fadeIn();
			}else{
				$("#img"+id).attr("src","img/daohangopen.png");
				$("#divTitleChild"+id).fadeOut(100);
			}
		}
	</script>
<!-- Begin page -->
<header class="am-topbar am-topbar-fixed-top" style="border:0px solid red;">		
	<div class="am-topbar-left am-hide-sm-only" style="background-color:#EEF;">
        <a href="javaScript:void(0)" class="logo">
        	<span>Car Manager</span>
        	<i class="zmdi zmdi-layers"></i></a>
    </div>
	<div class="contain">
		<ur class="am-nav am-navbar-nav am-navbar-left">
			<li class="page-title">
				<a href="managerInfoCenter.jsp"  target="center"><input type="button" value="管理员"> </a> 
				<a href="carroomcenter.jsp"  target="center"><input type="button" value="入库管理"> </a>
			</li>
		</ur>
		
		<ur class="am-nav am-navbar-nav am-navbar-right">
			<li class="inform"><i class="am-icon-bell-o" aria-hidden="true"></i></li>
			<li class="hidden-xs am-hide-sm-only">
                <form role="search" class="app-search">
                    <input type="text" placeholder="搜索入库信息" class="form-control">
                    <a href=""><img src="img/search.png"></a>
                </form>
            </li>
		</ur>
	</div>
</header>
<div class="admin">
  <div class="admin-sidebar am-offcanvas am-padding-0" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar"  style="background-color: #EEF;" >
    	<!-- User -->
		<div class="user-box am-hide-sm-only" style="background-color: #EEF;">
            <div class="user-img">
                <img src="img/avatar-3.jpg" alt="user-img" title="xiaogeAdmin" class="img-circle img-thumbnail img-responsive">
                <div class="user-status offline"><i class="am-icon-dot-circle-o" aria-hidden="true"></i></div>
            </div>
            <h5><a href="#" style="color: blue;">${manager.managerName }</a> </h5>
        </div>
			<div id="divTitle" class="left">
				
				
				<div id="main">
					<label style="line-height: 38px;">招聘管理</label>
					<span>
						<img onclick="daohangopen(2)" id="img2" height="38px" src="img/daohangopen.png" />
					</span><br/>
					<div style="display: none;" id="divTitleChild2">
						<ur>
							<li>
								<a href ="CandidateInfo_list.jsp" target="center">面试者管理</a><br/>
							</li>
						</ur>
					</div>
				</div>
				
				
				<div id="main">
					<label style="line-height: 38px;">汽修产品管理</label>
					<span>
						<img onclick="daohangopen(7)" id="img7" height="38px" src="img/daohangopen.png" />
					</span><br/>
					<div style="display: none;" id="divTitleChild7">
						<ur>
							<li>
								<a href ="apiinfoAction!selectHtPage?ye=1" target="center">产品管理</a><br/>
							</li>
							<li>
								<a href ="add.jsp" target="center">添加产品</a><br/>
							</li>
						</ur>
					</div>
				</div>
				<div id="main">
					<label style="line-height: 38px;">信息管理</label>
					<span>
						<img onclick="daohangopen(66)" id="img66" height="38px" src="img/daohangopen.png" />
					</span><br/>
					<div style="display: none;" id="divTitleChild66">
						<ur>
							<li>
								<a href ="news_list.jsp?typeid=0" target="center">汽车保养</a><br/>
							</li>
							<li>
								<a href ="news_list.jsp?typeid=1" target="center">行业新闻</a><br/>
							</li>
						</ur>
					</div>
				</div>
				
				
				<div id="main">
					<label style="line-height: 38px;">订单管理</label>
					<span>
						<img onclick="daohangopen(5)" id="img5" height="38px" src="img/daohangopen.png" />
					</span><br/>
					<div style="display: none;" id="divTitleChild5">
						<ur>
							<li>
								<a href ="booking.jsp" target="center"  >预约管理</a><br/>
							</li>
							<li>
								<a href ="subJournal.jsp" target="center" >维修记录</a><br/>
							</li>
						</ur>
					</div>
				</div>
				
				<div id="main">
					<label style="line-height: 38px;">服务类型</label>
					<span>
						<img onclick="daohangopen(6)" id="img6" height="38px" src="img/daohangopen.png" />
					</span><br/>
					<div style="display: none;" id="divTitleChild6">
						<ur>
							<li>
								<a href ="feedback.jsp" target="center">留言管理</a><br/>
							</li>
							<li>
								<a href ="cars_list.jsp" target="center">服务车型管理</a><br/>
							</li>
						</ur>
					</div>
				</div>
				
			</div>
		</div>
	</div>
	<!-- Start content -->
	<div class="content">
		<!--1070控制整个类容的大小-->
		<iframe src="managerInfoCenter.jsp" name="center" id="center" width="1070" height="620px" border="1">
			
		</iframe>
	</div>
</div>

<script type="text/javascript" src="js/jquery-2.1.0.js" ></script>
<script type="text/javascript" src="js/amazeui.min.js"></script>
</body>

</html>